><

Using the Source Code palette



Adobe GoLive lets you work in Layout view and Source view at the same time through the Source Code palette. While viewing a page in Layout view, you can open the Source Code palette and work in either window. Changes you make in the document window's Layout view are instantly reflected in the Source Code palette and vice versa. You can do most of your layout work in Layout view and fine-tune the underlying HTML code or enter code that must be entered manually in the Source Code palette without ever having to switch views in the document window.

To open the Source Code palette:

Choose Window > Source Code.

The Source Code palette's pop-up menu gives you several options:

  • Choose Local Mode to display the code only for the element currently selected in the Layout tab of the document window. Normally, the Source Code palette displays code for the entire document. The Local Mode option lets you limit the amount of code displayed for easier editing.
  • Choose Word Wrap to wrap the contents to the margin of the Source Code palette. If you resize the palette with this option enabled, the contents wrap to the palette's new size.
  • Choose Display Line Numbers to show code line numbers.
  • Choose Dim When Inactive to make the contents of the Source Code palette dim when you're working in the Layout tab of the document window. The dimming turns off when you return to the Source Code palette for further editing.

  • Note: The Source Code palette displays your document's underlying HTML code only when the Layout tab of the document window is active.


    Working in HTML > Using the Source Code palette